using AutoMapper;
using Crawler.Abot.Configurations;
using Crawler.Abot.Crawlers;
using Crawler.ApplicationServices;
using StructureMap.Configuration.DSL;

namespace Crawler.Abot
{
	public class AbotRegistry : Registry
	{
		public AbotRegistry()
		{
			For<ITorrentCrawler>().Use<TorrentCrawler>();
			For<IConfiguratorProvider>().Use<ConfiguratorProvider>();
			For<ICrawlerProvider>().Use<CrawlerProvider>();
			//on demand
			For<IConfigurator>().Use<YifiConfigurator>();
		}
	}
}